
using System;

[System.Serializable]
public class SSMCondition
{
    public EnumSSMConditionType type;
    public EnumSSMConditionMode mode;
    public float value;

    public SSMCondition(string typeString, int mode, float threshold)
    {
        this.type = (EnumSSMConditionType)Enum.Parse(typeof(EnumSSMConditionType), typeString);
        this.mode = (EnumSSMConditionMode)mode;
        this.value = threshold;
    }
}